/*
 * @Author: sdq 483657864@qq.com
 * @Date: 2025-04-18 13:07:00
 * @LastEditors: sdq 483657864@qq.com
 * @LastEditTime: 2025-04-18 17:58:30
 * @FilePath: \ranyu_anchor_new\src\agroa\listenter\index.ts
 * @Description: 集中监听事件
 */
import { agoraNetWorkIndicatorListenter } from "./netWorkQuality";
import { agoraPublishedListener } from "./userPublished";
import { agoraUnpublishedListener } from "./userUnpublished";
import { agoraVolumeIndicatorListener } from "./volumeIndicator";

/**
 * @description 开启所有声网监听
 */
export const setAllAgoraListenter = async () => {
  const { mountNetWorkIndicatorListenter } = await agoraNetWorkIndicatorListenter();
  mountNetWorkIndicatorListenter();
  const { mountPublishedLister } = await agoraPublishedListener();
  mountPublishedLister();
  const { mountUnpublishedLister } = await agoraUnpublishedListener();
  mountUnpublishedLister();
  const { mountVolumeIndicatorListener } = await agoraVolumeIndicatorListener();
  mountVolumeIndicatorListener();
};
// 集中导出
export * from "./netWorkQuality";
export * from "./userPublished";
export * from "./userUnpublished";
export * from "./volumeIndicator";
